using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_user_score
    {
        private int? _id;
        private int? _uid;
        private int? _talyear;
        private int? _talbooktimes;
        private int? _talroomnights;
        private int? _talconsumenights;
        private int? _talhotelcount;
        private decimal _talmount;
        private int? _talscore;
        private int? _lastday;

        public hfg_user_score()
        {
        }


        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _uid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _talyear = reader.GetInt32(2);
        //        if (!reader.IsDBNull(3)) _talbooktimes = reader.GetInt32(3);
        //        if (!reader.IsDBNull(4)) _talroomnights = reader.GetInt32(4);
        //        if (!reader.IsDBNull(5)) _talconsumenights = reader.GetInt32(5);
        //        if (!reader.IsDBNull(6)) _talhotelcount = reader.GetInt32(6);
        //        if (!reader.IsDBNull(7)) _talmount = reader.GetDecimal(7);
        //        if (!reader.IsDBNull(8)) _talscore = reader.GetInt32(8);
        //        if (!reader.IsDBNull(9)) _lastday = reader.GetInt32(9);
        //    }
        //}

       

       

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public int? talyear
        {
            get { return _talyear; }
            set { _talyear = value; }
        }

        public int? talbooktimes
        {
            get { return _talbooktimes; }
            set { _talbooktimes = value; }
        }

        public int? talroomnights
        {
            get { return _talroomnights; }
            set { _talroomnights = value; }
        }

        public int? talconsumenights
        {
            get { return _talconsumenights; }
            set { _talconsumenights = value; }
        }

        public int? talhotelcount
        {
            get { return _talhotelcount; }
            set { _talhotelcount = value; }
        }

        public decimal talmount
        {
            get { return _talmount; }
            set { _talmount = value; }
        }

        public int? talscore
        {
            get { return _talscore; }
            set { _talscore = value; }
        }

        public int? lastday
        {
            get { return _lastday; }
            set { _lastday = value; }
        }
        #endregion
    }
}
